package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.dto.DormitoryAdminForm;
import com.example.mybatisplus.model.dto.RepairForm;
import com.example.mybatisplus.model.dto.RoomAdjustForm;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzy
 * @since 2024-06-24
 */
public interface DormitoryAdminMapper extends BaseMapper<DormitoryAdmin> {

    List<RoomAdjustForm> selectInroomAdjust(Dot dot);

    List<RoomAdjustForm> selectOutroomAdjust(Dot dot);

    List<RoomAdjustForm> selectInBuildingAdjust(Dot dot);

    List<RoomAdjustForm> selectAllocationInBuildingAdjust(Dot dot);

    List<DormitoryAdminForm> selectDormitoryAdminFormByNameAndAccount(Dot dot);

    List<DormitoryAdminForm> dormitoryAdminAll(Dot dot);

    boolean confirmAdjust(Long ID,Long roomID);

    Room getOneRoom(Long id);

    List<HygieneCheck> getAllActivity(Dot dot);

    List<HygieneCheck> getOneActivity(Dot dot);

    List<Indiscipline> getIndiscipline(Dot dot);
    List<RoomAdjustForm> selectInAllocationAdjust(Dot dot);

    List<RoomAdjustForm> selectOutAllocationAdjust(Dot dot);

    List<RepairForm> selectDoneRepair(Dot dot);

    List<HygieneCheck> getHygieneByRoom(Dot dot);

    List<Indiscipline> getIndisciplineByStudent(Dot dot);

    List<RatingTable> getRating(Dot dot);
}
